package com.bamboo.ucenterservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author jack.wu
 * @version 1.0
 * @date 2020-07-14
 */
@EnableDiscoveryClient
@EnableTransactionManagement
@SpringBootApplication
@ComponentScan(basePackages = {"com.bamboo"})
public class CenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(CenterApplication.class, args);
    }
}
